<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>addOrEidt</title>
</head>
<body>
    <div>
        <h1>addOrEidt</h1>
        <table>
            <tr id="trId" hidden>
                <td>id:</td>
                <td><input type="text" id="id" readonly></td>
            </tr>
            <tr>
                <td>标题:</td>
                <td><input type="text" id="title"></td>
            </tr>
            <tr>
                <td>摘要:</td>
                <td><input type="text" id="abstract"></td>
            </tr>
            <tr>
                <td>内容:</td>
                <td><input type="text" id="body"></td>
            </tr>
            <tr>
                <td>分类:</td>
                <td>
                    <select name="cate" id="category"></select>
                </td>
            </tr>
            <tr>
                <td>作者:</td>
                <td><input type="text" id="author"></td>
            </tr>
        </table>
        <div>
            <input type="button" value="保存">
            <input type="button" value="返回" onclick="btnCancel()">
        </div>
    </div>
    <script src="./js/jquery-3.6.0.min.js"></script>
    <script src="./js/addOrEidt.js"></script>
</body>
</html>